require "test/unit"
require "animation"
require "animation_loader"
require "target_object"
class AnimationTest < Test::Unit::TestCase
  def test_update
    assert_raise(RuntimeError) do
      Graphics::Animation.new([], Graphics::TargetObject.new(0, 0, 0, 1, 1)){}
    end
    assert_raise(RuntimeError) do
      Graphics::Animation.new([], Graphics::TargetObject.new(0, 0, 0, 1, 1)){}
    end
  end
end
